package com.aim.api;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author AIM
 * @Des 接口访问
 * @DATE 2018/1/30
 */
@RestController
@RequestMapping("/api")
public class IndexApi {

    @RequestMapping(value = {"/", "/index"})
    public String index() {
        return "welcome";
    }
}
